package com.ming.cloudnote.service;

import java.util.List;

import com.ming.cloudnote.entity.Book;
import com.ming.cloudnote.util.NoteResult;

public interface BookService {
	NoteResult<List<Book>> loadUserBooks(String userId);

	NoteResult<Object> addNoteBook(String userId, String name);

	NoteResult<Object> rename(String bookId,String newName);

	NoteResult<Object> deleteBook(String bookId);
}
